package net.model.device;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;

public class PropertyBean implements Serializable {
    private long id;
    private String prodKey;
    private long type;
    private String identifier;
    private String descp;
    private long min;
    private long max;
    private String unitName;
    private String unitSymbol;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public long getType() {
        return type;
    }

    public void setType(long type) {
        this.type = type;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getDescp() {
        return descp;
    }

    public void setDescp(String descp) {
        this.descp = descp;
    }

    public long getMin() {
        return min;
    }

    public void setMin(long min) {
        this.min = min;
    }

    public long getMax() {
        return max;
    }

    public void setMax(long max) {
        this.max = max;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getUnitSymbol() {
        return unitSymbol;
    }

    public void setUnitSymbol(String unitSymbol) {
        this.unitSymbol = unitSymbol;
    }

    public String getProdKey() {
        return prodKey;
    }

    public void setProdKey(String prodKey) {
        this.prodKey = prodKey;
    }


    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
